cmake_minimum_required(VERSION 3.23)

set(project "MyStack")
project(${project})

set(CMAKE_CXX_STANDARD 17)

set(${project}_SOURCES
        MyStack.cpp)

set(${project}_HEADERS
        MyStack.h)

set(${project}_SOURCE_LIST
        ${${project}_SOURCES}
        ${${project}_HEADERS})

add_library(${project}
        STATIC
        ${${project}_SOURCE_LIST})